home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Shareware City / Education / math-test / mathtest (mac) / mathtest (mac).dxr / 00115.ls < prev    next >
Encoding:
Text File  |  1994-11-18  |  782 b   |  29 lines

  1. on exitFrame
  2.   puppetSprite(7, 1)
  3.   puppetSprite(10, 1)
  4.   put 0 into field "num1"
  5.   put 0 into field "num2"
  6.   put 0 into field "correct"
  7.   put 0 into field "incorrect"
  8.   put the ticks / 60 into field "timer1"
  9.   set the floatPrecision to 1
  10.   if field "playLevel" = 1 then
  11.     set the castNum of sprite 10 to cast "plus"
  12.   end if
  13.   if field "playLevel" = 2 then
  14.     set the castNum of sprite 10 to cast "plus"
  15.   end if
  16.   if field "playLevel" = 3 then
  17.     set the castNum of sprite 10 to cast "minus"
  18.   end if
  19.   if field "playLevel" = 4 then
  20.     set the castNum of sprite 10 to cast "minus"
  21.   end if
  22.   if field "playLevel" = 5 then
  23.     set the castNum of sprite 10 to cast "times"
  24.   end if
  25.   if field "playLevel" = 6 then
  26.     set the castNum of sprite 10 to cast "divide"
  27.   end if
  28. end
  29.